let a = [1,23,4,5,6,7,8,9,10];
a.forEach(function(item, index, array){
    console.log(item);
});